import bge

gl = bge.logic

cont = gl.getCurrentController()
own = cont.owner

scene = gl.getSceneList()[1]
mainCam = scene.active_camera

own.orientation = mainCam.orientation